import 'package:fish_redux/fish_redux.dart';
import 'package:member_center_sdk_example/pages/members/login/pwd/component.dart';
import 'package:member_center_sdk_example/pages/members/login/pwd/connector.dart';
import 'package:member_center_sdk_example/pages/members/login/sms/component.dart';
import 'package:member_center_sdk_example/pages/members/login/sms/connector.dart';

import 'effect.dart';
import 'reducer.dart';
import 'state.dart';
import 'view.dart';

class MemberLoginPage extends Page<MemberLoginState, String> {
  MemberLoginPage()
      : super(
            initState: initState,
            effect: buildEffect(),
            reducer: buildReducer(),
            view: buildView,
            dependencies: Dependencies<MemberLoginState>(
                adapter: null,
                slots: <String, Dependent<MemberLoginState>>{
                  "pwdLogin": PwdLoginConnector() + PwdLoginComponent(),
                  "smsLogin": SmsLoginConnector() + SmsLoginComponent()
                }),
            middleware: <Middleware<MemberLoginState>>[
            ],);

}
